﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace housingsafety.server.Entities.DataModels
{
    [Table("zm_building_ledger")]
    public partial class ZmBuildingLedger : Repository.IEntityInt
    {

        [Key]
        [Column("id")]
        public int Id { get; set; }



        [Column("xzq")]
        [StringLength(255)]
        public string xzq { get; set; }

        [Column("xzqdm")]
        [StringLength(255)]
        public string xzqdm { get; set; }

        [Column("town")]
        [StringLength(255)]
        public string town { get; set; }

        [Column("towndm")]
        [StringLength(255)]
        public string towndm { get; set; }

        [Column("village")]
        [StringLength(255)]
        public string village { get; set; }

        [Column("villagedm")]
        [StringLength(255)]
        public string villagedm { get; set; }

        [Column("fwds")]
        [StringLength(255)]
        public string fwds { get; set; }

        [Column("bz")]
        [StringLength(255)]
        public string bz { get; set; }

        [Column("villageold")]
        [StringLength(255)]
        public string villageold { get; set; }


        [NotMapped]
        public DateTime CreateOn { get; set; }
        [NotMapped]
        public DateTime? ModifiedOn { get; set; }
        [NotMapped]
        public DateTime? DeleteOn { get; set; }
        [NotMapped]
        public short? IsDelete { get; set; }


    }
}
